home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / BallBreaker.swf / scripts / frame_5 / PlaceObject2_16_5 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2006-06-13  |  324 b   |  18 lines

  1. onClipEvent(enterFrame){
  2.    if(this.hitTest(_root.ship))
  3.    {
  4.       _root.vars.bullet = 0;
  5.       _root.vars.gun = 0;
  6.       _root.ship.gotoAndStop(2);
  7.       this.removeMovieClip();
  8.    }
  9.    if(str ne "bonus1")
  10.    {
  11.       _Y = _Y + 2;
  12.       if(235 < _Y)
  13.       {
  14.          this.removeMovieClip();
  15.       }
  16.    }
  17. }
  18.